package com.gorkr.test.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author gorkr
 * @date 2022/04/07 22:33
 **/
@Document(indexName = "hotel")
@Data
public class Hotel {

    @Id
    String id;
    String title;
    String city;
    Double price;
}
    